[IA64] Clean up extern declarations in arch/ia64/xen/domain.c
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 5 Oct 2006 04:12:14 +0000 (22:12 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 5 Oct 2006 04:12:14 +0000 (22:12 -0600)
Signed-off-by: Aron Griffis <aron@hp.com>
xen/arch/ia64/xen/domain.c
xen/include/asm-ia64/linux-xen/asm/system.h
xen/include/asm-ia64/vmx.h

index 9433affbe806b1062e660ceb2d9756a0d4b8232f..d489299768e50fd3f5fb6001970ea9ba65286d53 100644 (file)
@@ -59,13 +59,8 @@ extern unsigned long running_on_sim;
 
 extern char dom0_command_line[];
 
-/* FIXME: where these declarations should be there ? */
-extern void serial_input_init(void);
+/* forward declaration */
 static void init_switch_stack(struct vcpu *v);
-extern void vmx_do_launch(struct vcpu *);
-
-/* this belongs in include/asm, but there doesn't seem to be a suitable place */
-extern struct vcpu *ia64_switch_to (struct vcpu *next_task);
 
 /* Address of vpsr.i (in fact evtchn_upcall_mask) of current vcpu.
    This is a Xen virtual address.  */
@@ -1103,9 +1098,6 @@ int construct_dom0(struct domain *d,
 
        physdev_init_dom0(d);
 
-       // FIXME: Hack for keyboard input
-       //serial_input_init();
-
        return 0;
 }
 
index c12beafd3af845791bcb63538f89831f73d77cd2..9f98e2a743c7c3571b0a645e86c2f59d7822c2a2 100644 (file)
@@ -189,6 +189,7 @@ do {                                                                \
 
 #ifdef XEN
 #define local_irq_is_enabled() (!irqs_disabled())
+extern struct vcpu *ia64_switch_to(struct vcpu *next_task);
 #else
 #ifdef __KERNEL__
 
index b9d9a6777910d53fad0ef243f735e09df71fc838..577fc1e34d08fbe82036f9f345f95998b17990a4 100644 (file)
@@ -35,6 +35,7 @@ extern void vmx_final_setup_guest(struct vcpu *v);
 extern void vmx_save_state(struct vcpu *v);
 extern void vmx_load_state(struct vcpu *v);
 extern void vmx_setup_platform(struct domain *d);
+extern void vmx_do_launch(struct vcpu *v);
 extern void vmx_io_assist(struct vcpu *v);
 extern int ia64_hypercall (struct pt_regs *regs);
 extern void vmx_save_state(struct vcpu *v);